import { get, post } from '../api'

export const getStudent = () => {
    return get('students')
}

export const alterStudent = (student) => {
    return post('alterStudent', { user: student })
}

export const deleteStudent = (student_id) => {
    return get("deleteStudent", { student_id })
}

export const importStudents = (file) => {
    return post("analysis/students", file)
}